package com.chen106106.sstest.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhenai
 * 2012-7-25 上午10:43:17
 */
public class Article implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8615846475324965137L;

	private int id;

	private String title;
	
	private String content;
	/**
	 * 文章的发布日期
	 */
	private Date releaseDate;
	
	/**
	 * 文章的来源
	 */
	private String source;
	public Article(){}
	
	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getReleaseDate() {
		return releaseDate;
	}
	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	@Override
	public String toString() {
		return "Article [id=" + id + ", title=" + title
				+ ", content=" + content + ", releaseDate=" + releaseDate
				+ ", source=" + source + "]";
	}
	
	
}
